home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
c4
/
pro2
/
1n04044a
< prev
next >
Wrap
Text File
|
1990-07-25
|
218b
|
14 lines
n := 0;
while c in ['0' .. '9'] do
begin
digit := ord(c) - ord('0');
if n < (MINLONGINT + digit) div base then
{ overflow action };
n := 10 * n - digit;
c := next;
end;
if not neg then
n := -n;